package com.myjar.excel.v2;

import com.myjar.excel.ExcelType;

import java.io.Closeable;
import java.io.InputStream;
import java.io.OutputStream;

public interface _Workbook extends Closeable, Empty {

    void emptyWorkbook(ExcelType excelType);

    void existsWorkbook(InputStream inputStream);

    _Sheet getSheet(int index);

    _Sheet createSheet(String name);

    int sheetSize();

    void writeTo(OutputStream outputStream);
}
